home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / QuickDraw™ GX / Programming Stuff / Sample Code / Graphics Samples / ShapePart Browser ƒ / Main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-10  |  967 b   |  35 lines  |  [TEXT/KAHL]

  1. /*
  2.  *    Main.h
  3.  *
  4.  *    Robert Dierkes,  November 11, 1993
  5.  */
  6.  
  7. #define        kGraphicsHeapSize    (100 * 1024L)
  8.  
  9. /*----------*/
  10. /*    Macros    */
  11. /*----------*/
  12. #define    GetWindowKind(pWindow)            ((WindowPeek)pWindow)->windowKind
  13. #define    SetWindowKind(pWindow,rsrcID)    ((WindowPeek)pWindow)->windowKind=rsrcID
  14.  
  15.  
  16. #define        kHiliteAllMenus        (short) 0
  17. #define        kWindowOnTop        ((WindowPtr) -1)
  18. #define        kWindowTitleHeight    (short) 20
  19.  
  20.  
  21. Boolean    InitApp (void);
  22. void ExitApp (void);
  23. void InitializeMenus (void);
  24. WindowPtr InitializeWindow (void);
  25. void DoContentClick (EventRecord *pEvent, WindowPtr pWindow);
  26. void DoMenuCommand (long menuResult);
  27. void DoGrowBox (EventRecord *pEvent, WindowPtr pWindow);
  28. void DoZoomBox (EventRecord *pEvent, WindowPtr pWindow, short windowPart);
  29. void DoNullEvent (EventRecord *pEvent);
  30. void DoMouseDown (EventRecord *pEvent);
  31. void DoKeyStroke (EventRecord *pEvent);
  32. void DoUpdate (EventRecord *pEvent);
  33. void DoActivate (EventRecord *pEvent);
  34. void DoEvent (void);
  35.